package com.mogist.hqc.util;

/**
 * 作用：常量
 * 作者：赵小白 email:vvtale@gmail.com  
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class Constant
{
	// --------------- 常量 ---------------

	public static final String SERVER = "http://47.110.128.72:8081/";

	public static final String TEL = "15692175267";
	public static final String RENT_CAR = "https://m-h02527062.zuzuche.com/";

	// --------------- 接口 ---------------
	/** 首页线路推荐 */
	public static final String MAIN_ROUTE = SERVER+"travel/app/index/routeInfoTop.do";
	/** 首页微社区推荐 */
	public static final String MAIN_COMMUNITY = SERVER+"travel/app/index/userPostingTop.do";
	/** 首页产品推荐 */
	public static final String MAIN_PRODUCT = SERVER+"travel/app/index/productTop.do";

	/** 项目分类列表 */
	public static final String TYPES = SERVER+"travel/app/index/projectClasslist.do";
	/** 项目列表 */
	public static final String TYPE_LIST = SERVER+"travel/app/index/pageProjectDistance.do";
	/** 项目详情 */
	public static final String TYPE_DETAIL = SERVER+"travel/app/index/projectDetail.do";
	/** 项目评论列表 */
	public static final String TYPE_COMMENT_LIST = SERVER+"travel/app/index/projectAppraisesPage.do";
	/** 项目评论 - 添加 */
	public static final String TYPE_COMMENT_ADD = SERVER+"travel/app/index/doAddProjectAppraise.do";

	/** 玩家产品分类列表 */
	public static final String PRODUCT_TYPES = SERVER+"travel/app/order/pdtClassPage.do";
	/** 玩家产品列表 */
	public static final String PRODUCT_LIST = SERVER+"travel/app/order/pdtPage.do";
	/** 玩家产品详情 */
	public static final String PRODUCT_DETAIL = SERVER+"travel/app/order/pdtDetail.do";
	/** 玩家产品价格 */
	public static final String PRODUCT_DAILY_PRICE = SERVER+"travel/app/order/pdtDailyPrice.do";
	/** 玩家产品评论列表 */
	public static final String PRODUCT_COMMENT = SERVER+"travel/app/order/pdtAppraisesPage.do";
	/** 玩家产品添加咨询 */
	public static final String PRODUCT_CONSULT = SERVER+"travel/app/order/doAddPdtQus.do";

	/** 微社区列表 */
	public static final String COMMUNITY_LIST = SERVER+"travel/app/posting/userPostingPage.do";
	/** 微社区详情 */
	public static final String COMMUNITY_DETAIL = SERVER+"travel/app/posting/userPostingDetail.do";
	/** 微社区发布 */
	public static final String COMMUNITY_UPLOAD = SERVER+"travel/app/posting/doAddUserPosting.do";
	/** 微社区发布评论 */
	public static final String COMMUNITY_COMMENT = SERVER+"travel/app/posting/doAddUserPostingReply.do";

	/** 发送短信 */
	public static final String LOGIN_SEND = SERVER+"travel/app/index/toSendCode.do";
	/** 登录 */
	public static final String LOGIN = SERVER+"travel/app/index/toLoginByMobile.do";
	/** 刷新token */
	public static final String REFRESH_TOKEN = SERVER+"travel/app/index/refreshUserToken.do";
	/** 退出登录 */
	public static final String LOGIN_OUT = SERVER+"travel/app/index/cancelUserToken.do";
	/** 第三方登录绑定手机 */
	public static final String LOGIN_BIND = SERVER+"travel/app/index/toBindMobile.do";
	/** 添加/取消收藏 */
	public static final String COLLECT_ADD = SERVER+"travel/app/user/doOptMyCollection.do";
	/** 收藏列表 */
	public static final String COLLECT_LIST = SERVER+"travel/app/user/myCollectionPage.do";
	/** 我的帖子 */
	public static final String MY_COMMUNITY = SERVER+"travel/app/user/myPostingPage.do";
	/** 我的帖子 - 删除 */
	public static final String MY_COMMUNITY_DELETE = SERVER+"travel/app/user/doCancelMyPosting.do";
	/** 我的咨询 */
	public static final String MY_CONSULT = SERVER+"travel/app/user/myProductQusPage.do";
	/** 我的咨询 - 删除 */
	public static final String MY_CONSULT_DELETE = SERVER+"travel/app/user/doCancelMyPosting.do";
	/** 修改用户信息 */
	public static final String PERSONAL_INFO_UPDATE = SERVER+"travel/app/user/doOptMyInfomation.do";
	/** 微信登录 */
	public static final String WX_Login = SERVER+"travel/app/index/appToWechatLogin.do";
	/** 绑定手机 */
	public static final String Bind_Mobile = SERVER+"travel/app/index/appToBindMobile.do";

	/** 提交订单 */
	public static final String ORDER_UPLOAD = SERVER+"travel/app/order/doAddOrder.do";
	/** 提交订单 */
	public static final String ORDER_PAY = SERVER+"travel/app/order/doPayOrder.do";
	/** 订单列表 */
	public static final String ORDER_LIST = SERVER+"travel/app/user/orderPage.do";
	/** 订单详情 */
	public static final String ORDER_DETAIL = SERVER+"travel/app/user/orderDetail.do";
	/** 支付成功后通知后台 */
	public static final String ORDER_NOTIFY = SERVER+"travel/app/order/orderNotify.do";
	/** 订单取消/退单 */
	public static final String ORDER_CANCEL = SERVER+"travel/app/order/doCancelOrder.do";
	/** 订单评论 */
	public static final String ORDER_COMMENT = SERVER+"travel/app/order/doCommentOrder.do";

	// --------------- 数据 ---------------

	public static final String WX_APP_ID = "wx5b840462ab777fcd";

	// --------------- 数据 ---------------
	public static final String STR_DISTANCE = "20000";
	public static final double DOUBLE_DISTANCE = 20000;

	public static final String STR_TOKEN = "STR_TOKEN";
	public static final String STR_MOBILE = "STR_MOBILE";
	public static final String STR_USER_PHOTO = "STR_USER_PHOTO";
	public static final String STR_USER_NAME = "STR_USER_NAME";
	public static final String STR_LATITUDE = "STR_LATITUDE";
	public static final String STR_LONGITUDE = "STR_LONGITUDE";

	public static final String OBJ_LOGIN = "OBJ_LOGIN";
	public static final String OBJ_HISTORY = "OBJ_HISTORY";

	public static final String LONG_TOKEN = "LONG_TOKEN";

	public static final String EVENT_UPLOAD_SUCCESS = "EVENT_UPLOAD_SUCCESS";
	public static final String EVENT_REFRESH_ORDER = "EVENT_REFRESH_ORDER";
	public static final String EVENT_PAY_SUCCESS = "EVENT_PAY_SUCCESS";
	public static final String EVENT_PAY_FAILED = "EVENT_PAY_FAILED";
	public static final String EVENT_LOGIN_SUCCESS = "EVENT_LOGIN_SUCCESS";
}
